package com.ruoyi.system.business.vo;

import com.ruoyi.common.annotation.Excel;

public class QstagModbusTcp {
    @Excel(name = "序号")
    private Integer tagid;
    @Excel(name = "名称")
    private String pointName;
    //private String tagname;//变量寄存器名称,根据寄存器地址生成
    @Excel(name = "修改类型")
    private String opt;//操作
    @Excel(name = "数据类型")
    private String dataType;//传上来的是BOOL、REAL，大小写、大小写混合等都有可能
    //private Integer valuetype;//值类型，从dataType转换而来
    @Excel(name = "Modbus寄存器")
    private String itemid;//通讯变量寄存器地址
    @Excel(name = "Modbus位")
    private String bit;//
    @Excel(name = "描述")
    private String tagdesc;//变量详细描述
    @Excel(name = "单位")
    private String units;//单位
    @Excel(name = "系数")
    private String itemxs;
    @Excel(name = "读写类型")
    private String readWrite;//上传上来的是R、W
    //private Integer itemreadtype;//根据readWrite转换而来
    @Excel(name = "ModbusTCP网关设备地址")
    private String itemdrid;//ModbusTCP网关设备地址，通讯设备ID，见项目“设备采集管理”“设备采集配置”菜单界面设备采集配置列表的“设备ID”
    @Excel(name = "从站地址")
    private String itemdradd;//设备地址
    @Excel(name = "分组")
    private String groupName;//分组名称
    @Excel(name = "报警等级")
    private String alarmLevel;//报警等级
    @Excel(name = "权限等级")
    private String controlLevel;//权限等级
    @Excel(name = "仪表分组")
    private String meteringGroup;//仪表分组

    public Integer getTagid() {
        return tagid;
    }

    public void setTagid(Integer tagid) {
        this.tagid = tagid;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getOpt() {
        return opt;
    }

    public void setOpt(String opt) {
        this.opt = opt;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public String getBit() {
        return bit;
    }

    public void setBit(String bit) {
        this.bit = bit;
    }

    public String getTagdesc() {
        return tagdesc;
    }

    public void setTagdesc(String tagdesc) {
        this.tagdesc = tagdesc;
    }

    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units;
    }

    public String getItemxs() {
        return itemxs;
    }

    public void setItemxs(String itemxs) {
        this.itemxs = itemxs;
    }

    public String getReadWrite() {
        return readWrite;
    }

    public void setReadWrite(String readWrite) {
        this.readWrite = readWrite;
    }

    public String getItemdrid() {
        return itemdrid;
    }

    public void setItemdrid(String itemdrid) {
        this.itemdrid = itemdrid;
    }

    public String getItemdradd() {
        return itemdradd;
    }

    public void setItemdradd(String itemdradd) {
        this.itemdradd = itemdradd;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public String getControlLevel() {
        return controlLevel;
    }

    public void setControlLevel(String controlLevel) {
        this.controlLevel = controlLevel;
    }

    public String getMeteringGroup() {
        return meteringGroup;
    }

    public void setMeteringGroup(String meteringGroup) {
        this.meteringGroup = meteringGroup;
    }
}
